#1-100
# sum =0
# for n in range(1,101):
#     sum += n
# print(sum)

# n=1
# sum=0
# while n< 101:
#     sum +=n
#     n +=1
# print(sum)

# 不断输入数字，直到输入一个正确的数字7
# num = input("输入数字：")
# while num != "7":
#     print('继续输入')
#     num = input("输入数字：")

# while True:
#     num = input("输入数字：")
#     if num == "7":
#         break
#     print('继续输入')

# continue
# 求1-30之内的，所有的8的倍数和
# sum1=0
# for x in range(1,31):
#     if x%8 == 0:
#         sum1 +=x
# print(sum1)
# sum1=0
# for x in range(1,31):
#     if x%8 != 0:
#         continue
#     sum1 += x
# print(sum1)



